package cn.edu.kzjsxy.graduationproject.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author：chén jiā jùn
 * @Create：2024年04月15日22:57
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class LoginRequest {

	@ApiModelProperty(value = "用户ID，唯一标识用户")
	@TableId(value = "user_id", type = IdType.ASSIGN_UUID)
	private String userId;

	@ApiModelProperty(value = "密码，用于用户登录验证")
	@TableField("password")
	private String password;
}
